﻿using System.Runtime.Serialization;
using Common.Enums;

namespace Common.Entities
{
    [DataContract]
    public class SocialNetwork 
    {
        [DataMember]
        public SocialNetworkName SocialNetworkName { get; private set; }
        [DataMember]
        public string SocialNetworkAddress { get; private set; }

        public SocialNetwork(SocialNetworkName socialNetworkName)
        {
            SocialNetworkName = socialNetworkName;
        }

        public SocialNetwork(SocialNetworkName socialNetworkName, string socialNetworkAddress)
        {
            SocialNetworkName = socialNetworkName;
            SocialNetworkAddress = socialNetworkAddress;
        }
    }
}
